function rate = controledProductionRate(t, x)
%Production rate = 5
%   Detailed explanation goes here

    %r is the reference or set point: the desired inventory level
    r = 40;

    rate = r - x;
end

